<?php
namespace PsiFramework\Classes\Actions\Template;

import("Classes.Actions.AbstractAction");

use \PsiFramework\Classes\Actions\AbstractAction;

/**
 * PsiFramework
 * Php Simple Framework
 *
 * @author Rémi San
 * @version beta
 */

/**
 * Classe d'action de menu
 *
 * @package Actions.Template
 */
class MenuAction extends AbstractAction
{

    /**
     * The main function of the method which is called every time
     * an action is created by the front controller.
     *
     */
    public function execute()
    {
        parent::execute();

        $this->_templateManager->addTemplate(
            "template/menu",
            $this->_response,
            "menu"
        );
    }
}
